Skip to content

Resetting service locator determination logic between handler compilations#2142

Merged
jeremydmiller merged 2 commits intomainfrom
GH2068
Feb 9, 2026
Merged

Resetting service locator determination logic between handler compilations#2142
jeremydmiller merged 2 commits intomainfrom
GH2068

Conversation

@jeremydmiller
Copy link
Member

No description provided.

jeremydmiller and others added 2 commits February 8, 2026 20:11
…tate between handlers. Closes GH-2068

Upgrade JasperFx and JasperFx.Events to 1.17.1 which includes the fix in
ServiceCollectionServerVariableSource.StartNewMethod() to reset _usesScopedContainerDirectly
and _serviceLocations between handler types. Add test verifying AlwaysUseServiceLocationFor<IFlag>()
does not leak to subsequent handler types during code generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant